package com.baizhi.service;

import com.baizhi.entity.Product;
import com.github.pagehelper.PageInfo;

public interface ProductService {
    void insert(Product product);
    void delete(Integer pid);
    void deleteAny(Integer[] pids);
    void update(Product product);
    Product selectById(Integer pid);
    PageInfo<Product> selectByPage(String pname,Integer page,Integer limit);
}
